package com.zhiwei.codesecurity.mapper;

import com.zhiwei.codesecurity.common.base.BaseDao;
import com.zhiwei.codesecurity.entity.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UsersMapper extends BaseDao {

    Users getByUserId(@Param("userId") String userId);

    Users getUserByUserAccount(@Param("userAccount") String userAccount);

    int delByUserId(@Param("userId") String userId);

    List<Users> getUsersByTeamId(@Param("teamId") String teamId);

    int delByTeamId(@Param("teamId") String teamId);
}
